//
//  TimeHeader.h
//  timelyRain
//
//  Created by Jiafei Wei on 16/9/5.
//  Copyright © 2016年 Jiafei Wei. All rights reserved.
//

#import <UIKit/UIKit.h>

@class TimeHeader;
@protocol TimeHeaderDelegate <NSObject>


@optional
- (void)back;//协议
- (void)right;//协议
@end

@interface TimeHeader : UIView
+ (instancetype)headerView;
@property (weak, nonatomic) IBOutlet UILabel *ttitle;
@property (weak, nonatomic) IBOutlet UIView *backView;
@property (weak, nonatomic) IBOutlet UIView *right;
@property (weak, nonatomic) IBOutlet UILabel *keeplable;
@property (weak, nonatomic) IBOutlet UIImageView *rightImage;
@property (nonatomic, weak) id<TimeHeaderDelegate> delegate;
@end
